// -----------------------------------------------------------------------
//  <copyright file="OrganizationByCodeSpec.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2025 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-02-20 11:02</last-date>
// -----------------------------------------------------------------------

using Liuliu.Fsb.Services.Identity.Domain.Entities;


namespace Liuliu.Fsb.Services.Identity.Application.Identity.Organizations.Specs;

public class OrganizationByCodeSpec(string code, long? excludeId = null)
    : SpecificationBase<Organization>(m => m.Code == code && (excludeId == null || m.Id != excludeId))
{ }
